func_code_string: #include <bits/stdc++.h>   using namespace std;   int n, m, a[100010], pos[100010], f[100010], b;   int main() {     bool yes = true;     cin >> n >> m;     for (int i = 1; i < n + 1; i++) {       cin >> f[i];       if (pos[f[i]]) {         pos[f[i]] = -1;       } else {         pos[f[i]] = i;       }     }     for (int i = 0; i < m; i++) {       cin >> b;       if (!pos[b]) {         cout <<  Impossible  << endl;         return 0;       } else if (pos[b] == -1) {         yes = false;       }       a[i] = pos[b];     }     if (yes == false) {       cout <<  Ambiguity  << endl;       return 0;     } else {       cout <<  Possible  << endl;       for (int i = 0; i < m; i++) {         cout << a[i] <<    ;       }       cout << endl;     }   }   