import math print(len(str(math.isqrt(int(input())))))