





"""simple docstring"""



from math import gcd







def 	__lowercase  (     snake_case_						:						int = 12000		)     ->int:



    '''simple docstring'''







    __A					:		Union[str, Any]						=  0
    for d in range(max_d + 1		):
        for n in range(d // 3 + 1       ,(d + 1) // 2		):
            if gcd(snake_case_       ,snake_case_		) == 1:
                fractions_number += 1
    return fractions_number


if __name__ == "__main__":
       print(f'''{solution() = }''')











"""simple docstring"""



import decimal







def 	__lowercase  (     )     ->int:



    '''simple docstring'''







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


if __name__ == "__main__":
       import doctest

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




