#program to print Fibonacci series
arr=[]
n=int(raw_input("Enter the limit "))
arr.append(int(1))
arr.append(int(1))
for c in range (2,n):
    arr.append(arr[c-1] + arr[c-2])
c=0
for c in range (0,n):
    print arr[c],