func_code_string: #include <bits/stdc++.h>   using namespace std;   long long gcd(long long a, long long b) {     while (a != 0 && b != 0) {       if (a > b) {         a %= b;       } else if (a < b) {         b %= a;       } else {         return a;       }     }     return a + b;   }   long long divS(long long a) {     long long res = 0;     while (a > 0) {       res += a % 10;       a /= 10;     }     return res;   }   int distToSym(char a, char b) {     if (abs(int(a) - int(b)) <= 13)       return abs(int(a) - int(b));     else       return (26 % abs(int(a) - int(b)));   }   int main() {     ios_base::sync_with_stdio(false);     string s;     cin >> s;     bool v = false, h = false;     for (auto& x : s) {       if (x ==  0 ) {         if (v)           cout <<  1 1 n ;         else           cout <<  3 1 n ;         v = !v;       } else {         if (h)           cout <<  1 1 n ;         else           cout <<  1 3 n ;         h = !h;       }     }     return 0;   }   