import math print(math.log10(int(input())**0.5))