#include using namespace std; #define rep(i, n) for (ll i = 0; i < (n); ++i) #define rrep(i, n) for (ll i = n; i > 0; --i) #define bitrep(i, n) for (ll i = 0; i < (1 << n); ++i) #define all(a) (a).begin(), (a).end() #define rall(a) (a).rbegin(), (a).rend() #define yesNo(b) ((b) ? "Yes" : "No") using ll = long long; using ull = unsigned long long; using ld = long double; string alphabet = "abcdefghijklmnopqrstuvwxyz"; string ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; const double pi = 3.141592653589793; int smallMOD = 998244353; int bigMOD = 1000000007; int main() { int n; cin >> n; if (n == 2) { cout << 2 << endl; } else if (n == 3) { cout << 5 << endl; } else if (n == 4) { cout << 4 << endl; } else if (n == 5) { cout << 13 << endl; } else if (n == 6) { cout << 14 << endl; } else if (n == 7) { cout << 25 << endl; } else if (n == 8) { cout << 24 << endl; } else if (n == 9) { cout << 35 << endl; } else if (n == 10) { cout << 34 << endl; } return 0; }