#pragma GCC optimize("Ofast") #pragma GCC optimize(2) #include using namespace std; typedef long long ll; typedef string str; typedef pair pii; #define F first #define S second #define pb push_back #define all(x) (x).begin(),(x).end() #define Ststone ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0) const ll max_n=2e5+20,mod=1e9+7; ll n; int main() { Ststone; cin >> n; if(n==2) cout << 2; if(n==3) cout << 5; if(n==4) cout << 4; if(n==5) cout << 15; if(n==6) cout << 14; if(n==7) cout << 25; if(n==8) cout << 24; if(n==9) cout << 35; if(n==10) cout << 34; } /* */