n=int(input()) def fib(n): if n==1 or n==2: return 1 if n==0: return 0 else: return fib(n-1)+fib(n-2) print(format(fib(n),'.2f'))