N = int(input()) tmp = 0 now = 1 while now * now <= N: tmp += 1 now += 1 print(tmp)