def f(x):
if x == 0 or x == 1:
return x
else:
x = f(x-2)-f(x-1)
return x

print