def fib(max):
	n,a,b=0,0,1
	while n <max:
		yield b
		a,b=b,a+b
		n=n+1
max=raw_input()
print fib



f17407aaea5b21fc08ae70596b0f14c1176bb1ae
def fib(max):
	n,a,b=0,0,1
	while n <max:
		yield b
		a,b=b,a+b
		n=n+1
max=raw_input()
print fib


