#include using namespace std; #define int long long #define pb emplace_back #define sz(v) (int)(v.size()) #define all(v) (v.begin(),v.end()) signed main(){ ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); // freopen("input.txt","r",stdin); // freopen("output.txt","w",stdout); int n; cin >> n; int dp[n+1]; dp[0] = 0; dp[1] = 1; dp[2] = 2; for(int i = 3;i