#include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     int foot = 0;     int inch = 0;     int q, o;     if (n < 35) {       if (n == 2) {         inch++;       } else         for (int e = 1; e < n; e = e + 3) {           inch++;         }     } else if (n == 35 || n == 36) {       foot++;     } else if (n > 36) {       if (n == 37) {         inch = 0;       } else if (n == 38) {         inch++;       } else if (n > 38) {         for (int z = 36; z <= n; z = z + 36) {           foot++;           if (z - n == 2 || z - n == 1) {             ;           }           q = z;           o = n - q;         }         for (int i = 3; i <= o; i = i + 3) {           inch++;           if (o - i == 2) {             inch++;           }         }       }     }     if (inch == 12) {       inch = 0;       foot++;     }     cout << foot <<     << inch;     return 0;   }   