





import decimal
def     lowercase__       (       )			->				int:



       """simple docstring"""






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


if __name__ == "__main__":
    import doctest

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







'''simple docstring'''
def     lowercase__       (       __lowercase						:  list    ,  __lowercase						:  int    ,  __lowercase						:  int    ,  __lowercase						:  int					)			->				int:



       """simple docstring"""






       __UpperCamelCase	=  int((lower_bound + upper_bound) // 2					)
       if array[r] == value:
              return r
       if lower_bound >= upper_bound:
              return -1
       if array[r] < value:
              return binary_search(__lowercase    ,  r + 1    ,  __lowercase    ,  __lowercase					)
       else:
              return binary_search(__lowercase    ,  __lowercase    ,  r - 1    ,  __lowercase					)
def     lowercase__       (       __lowercase						:  int    ,  __lowercase						:  list					)			->				list:



       """simple docstring"""






       __UpperCamelCase	=  0
       if matrix[index][0] == value:
              return [index, 0]
       while index < len(__lowercase					) and matrix[index][0] < value:
              __UpperCamelCase	=  binary_search(matrix[index]    ,  0    ,  len(matrix[index]					) - 1    ,  __lowercase					)
              if r != -1:
                     return [index, r]
              index += 1
       return [-1, -1]


if __name__ == "__main__":
    import doctest

    doctest.testmod()
