#include <bits/stdc++.h>
using namespace std;
int Fibo(int n){
if(n==0) return 0;
else if(n==1) return 1;
return Fibo(n-1)+Fibo(n-2);
}
int main() {
int n;
while(cin>>n){
cout<<Fibo(n)<<endl;
}
}
// 64 位输出请用 printf("%lld")

京公网安备 11010502036488号