#include<iostream> using namespace std; int fibo(int u){ if(u==0) return 0; if(u==1||u==2) return 1; else return fibo(u-1)+fibo(u-2); } int main(){ int n; cin>>n; cout<<fibo(n); }