#include<bits/stdc++.h>
using namespace std;
long long c[100000000];
int f(long long x){
if(x==0) return 0;
if(x==1) return 1;
if(x==2) return 2;
if(c[x]>0) return c[x];
long long a=f(x-1)+f(x-2);
c[x]=a;
return a;
}
int main(){
long long m;
cin>>m;
cout<<f(m-1)<<".00";
return 0;
}