

'''simple docstring'''
import decimal







def       _A	(			)    ->			int:
   _lowercase    :   Optional[int]      =     0
   _lowercase    :   Optional[int]      =     decimal.Context(prec=1_05  )
   for i in range(2	,							1_00  ):
      _lowercase    :   List[Any]      =     decimal.Decimal(snake_case  )
      _lowercase    :   int      =     number.sqrt(snake_case  )
      if len(str(snake_case  )  ) > 1:
         answer += int(str(snake_case  )[0]  )
         _lowercase    :   Dict      =     str(snake_case  )[2:1_01]
         answer += sum(int(snake_case  ) for x in sqrt_number_str  )
   return answer


if __name__ == "__main__":
    import doctest

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









'''simple docstring'''
def       _A	(			snake_case  )    ->			int:

   # validate:
   if not isinstance(snake_case	,							snake_case  ) or not all(
       isinstance(snake_case	,							snake_case  ) and item >= 0 for item in citations  ):
      raise ValueError("The citations should be a list of non negative integers."  )

   citations.sort()
   _lowercase    :   Tuple      =     len(snake_case  )

   for i in range(snake_case  ):
      if citations[len_citations - 1 - i] <= i:
         return i

   return len_citations


if __name__ == "__main__":
    import doctest

    doctest.testmod()






