func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     cout.tie(NULL);     int n, m, k, cntr = 1, s = 1;     cin >> n >> m >> k;     string str;     cin >> str >> str;     if (str ==  head ) cntr = -1;     cin >> str;     int l = str.length();     if (m < k) s = -1;     for (int i = 0; i < l; i++) {       if (str[i] ==  0 ) {         if (m != 1 && m != n) m += s;       } else {         if (cntr == 1)           m = 1;         else           m = n;       }       k += cntr;       if (k == n)         cntr = -1;       else if (k == 1)         cntr = 1;       if (m == k) {         cout <<  Controller   << i + 1 <<   n ;         return 0;       }     }     cout <<  Stowaway n ;     return 0;   }   