func_code_string: #include <bits/stdc++.h>   using namespace std;   const long long MOD = 1e9 + 7;   int main(int argc, char const *argv[]) {     string a;     cin >> a;     long long n = a.length();     char p[n];     p[0] = a[0];     long long i;     for (i = 1; i < n; i++) p[i] = (p[i - 1] > a[i]) ? a[i] : p[i - 1];     for (int i = 0; i < int(n); i++) {       if (a[i] > p[i])         cout <<  Ann  << endl;       else         cout <<  Mike  << endl;     }   }   