import math N=int(input()) ans=1 for i in range(100000): ans=math.sqrt(ans*(N+99999-i)+1) print(int(round(ans)))