import math n=int() s=str(math.isqrt(n)) print(len(s))