#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define pb push_back #define pf push_front typedef long long lint; typedef complex P; #define mp make_pair #define fi first #define se second typedef pair pint; #define All(s) s.begin(),s.end() #define rAll(s) s.rbegin(),s.rend() #define REP(i,a,b) for(int i=a;i> N; ll dp[N+1] = {1,1,2}; rep(i,2,N+1){ dp[i] = dp[i-1] + dp[i-2]; } cout << dp[N] << endl; }