//地址 #include <bits/stdc++.h> using namespace std; int sum(int &a){ int b,c; b=a-1; c=a-2; if(a<=2){ return 1; }else{ return sum(b)+sum(c); } } int main(){ int x,a; cin>>a; x=sum(a); cout<<x; return 0; }