

def       snake_case__    (       lowerCAmelCase_      ):





     """simple docstring"""







     SCREAMING_SNAKE_CASE										=word.upper()
     SCREAMING_SNAKE_CASE										=0
     SCREAMING_SNAKE_CASE										={}
     SCREAMING_SNAKE_CASE										=[]

     for letter in word:
          if letter not in letter_nums:
               SCREAMING_SNAKE_CASE										=str(lowerCAmelCase_      )
               next_num += 1
          word_pattern.append(letter_nums[letter]      )
     return ".".join(lowerCAmelCase_      )


if __name__ == "__main__":
 import pprint
 import time

 _lowerCamelCase								=time.time()
 with open("dictionary.txt") as in_file:
  _lowerCamelCase								=in_file.read().splitlines()

 _lowerCamelCase								={}
 for word in word_list:
  _lowerCamelCase								=get_word_pattern(word)
  if pattern in all_patterns:
   all_patterns[pattern].append(word)
  else:
   _lowerCamelCase								=[word]

 with open("word_patterns.txt", "w") as out_file:
  out_file.write(pprint.pformat(all_patterns))

 _lowerCamelCase								=round(time.time() - start_time, 2)
 print(f'Done!  {len(all_patterns):,} word patterns found in {total_time} seconds.')
 # Done!  9,581 word patterns found in 0.58 seconds.




import decimal







def       snake_case__    (       ):





     """simple docstring"""







     SCREAMING_SNAKE_CASE										=0
     SCREAMING_SNAKE_CASE										=decimal.Context(prec=105      )
     for i in range(2,   100      ):
          SCREAMING_SNAKE_CASE										=decimal.Decimal(lowerCAmelCase_      )
          SCREAMING_SNAKE_CASE										=number.sqrt(lowerCAmelCase_      )
          if len(str(lowerCAmelCase_      )      ) > 1:
               answer += int(str(lowerCAmelCase_      )[0]      )
               SCREAMING_SNAKE_CASE										=str(lowerCAmelCase_      )[2:101]
               answer += sum(int(lowerCAmelCase_      ) for x in sqrt_number_str      )
     return answer


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 print(f'{solution() = }')

