func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     ios::sync_with_stdio(0), cin.tie(), cout.tie();     bool w = false;     int cnt = 0;     string s;     cin >> s;     for (int i = 0; i < s.size(); i++) {       int zero = 0, one = 0;       if (w && s[i] ==  0 ) {         cout << 1 <<     << 1 << endl;         w = false;       } else if (s[i] ==  0 ) {         cout << 3 <<     << 1 << endl;         w = true;       } else {         cout << 4 - cnt <<     << 2 << endl;         cnt++;         if (cnt == 4) cnt = 0;       }     }     return 0;   }   