#include #include // #include #define INF 1000000000 using namespace std; #define int long long signed main(){ int N; int D[50]={1,1}; cin >> N; if(N<=2){ cout << "1" << endl; } for(int i=2;i