#include using namespace std; int main() { int a[17] ={1,1,11,11,11,11,11,11,11,11, 11,11,11,11,11,11,11}; int n; cin >> n; n--; cout << a[n] << endl; return 0; }