#include <iostream>

 using namespace std;

5 int main(void){
6 int K;
7 cin >> K;
8
9 if(K == 1) cout << 1 << endl;
10 if(K == 2) cout << 1 << endl;
11 :
12 if(K == 32) cout << 51 << endl
13
14 return 0;
15 }
