#include <bits/stdc++.h>
using namespace std;
int n, m, z, c;
int main() {
  int N;
  while (cin >> N) {
    vector<int> V(N);
    int Sum = 0;
    for (int i = 0; i < N; i++) {
      cin >> V[i];
      Sum += V[i];
    }
    int Max = -1, Min = -1;
    bool flag = true;
    int avg = Sum / N;
    for (int i = 0; i < N; i++) {
      if (V[i] > avg) {
        if (Max == -1)
          Max = i;
        else
          flag = false;
      }
      if (V[i] < avg) {
        if (Min == -1)
          Min = i;
        else
          flag = false;
      }
    }
    if (!flag)
      cout << "Unrecoverable configuration." << endl;
    else if (Max != -1 && Min != -1) {
      if (V[Max] + V[Min] == 2 * avg)
        cout << V[Max] - avg << " ml. from cup #" << Min + 1 << " to cup #"
             << Max + 1 << "." << endl;
      else
        cout << "Unrecoverable configuration." << endl;
    } else if (Max == -1 && Min == -1)
      cout << "Exemplary pages." << endl;
    else
      cout << "Unrecoverable configuration." << endl;
  }
  return 0;
}
