N = int(input()) end = N + 5 start = 1 while end - start > 1: mid = end + start >> 1 if mid * mid > N: end = mid else: start = mid print(start)