func_code_string: #include <bits/stdc++.h>   using namespace std;   int a[1024], f[10010];   int main() {     ios_base::sync_with_stdio(false);     cin.tie(0);     int n, l = INT_MAX, r = INT_MIN, cnt = 0, src, dst;     cin >> n;     for (int i = 0; i < n; ++i) {       cin >> a[i];       ++f[a[i]];     }     for (int i = 0; i < 10001; ++i) {       if (f[i]) ++cnt;       if (cnt > 3) {         cout <<  Unrecoverable configuration. ;         return 0;       }     }     if (cnt == 1) {       cout <<  Exemplary pages. ;       return 0;     }     for (int i = 0; i < n; ++i) {       if (l > a[i]) {         l = a[i];         src = i + 1;       }       if (r < a[i]) {         r = a[i];         dst = i + 1;       }     }     int dif = r - l;     if (dif % 2) {       cout <<  Unrecoverable configuration. ;       return 0;     }     dif /= 2;     if (n == 2) {       cout << dif <<   ml. from cup #  << src <<   to cup #  << dst <<  . n ;       return 0;     }     for (int i = 0; i < n; ++i) {       if (i != src - 1 && i != dst - 1) {         if (l + dif != a[i] || r - dif != a[i]) {           cout <<  Unrecoverable configuration. ;           return 0;         }       }     }     cout << dif <<   ml. from cup #  << src <<   to cup #  << dst <<  . n ;     return 0;   }   