from math import isqrt n = int(input()) print(len(isqrt(n)))