#include <bits/stdc++.h>
using namespace std;
int memo[100];
int fib(int n)
{
memo[0]=0;memo[1]=1;
if(memo[n]!=0)
{
return memo[n];
}
if(memo[n]==0&&n==0)
{
return memo[n];
}
return memo[n]=fib(n-1)+fib(n-2);
}
int main()
{
int n;
cin>>n;
fib(n);
cout<<fixed<<setprecision(2)<<memo[n]*1.0;
return 0;
}