#include <bits/stdc++.h>
using namespace std;
void fileIO() {}
bool sortbysecdesc(const pair<long long, long long> &a,
                   const pair<long long, long long> &b) {
  return a.second > b.second;
}
int32_t main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  fileIO();
  long long T;
  T = 1;
  while (T--) {
    long long n;
    cin >> n;
    vector<long long> a(n);
    long long sum = 0;
    for (long long &x : a) {
      cin >> x;
      sum += x;
    }
    if (sum % n != 0) {
      cout << "Unrecoverable configuration.";
      return 0;
    }
    long long vol = sum / n;
    long long k = 0;
    long long x1, x2;
    long long cupa, cupb;
    for (long long i = 0; i < n; i++) {
      if (a[i] < vol) {
        cupa = i + 1;
        x1 = a[i];
      }
      if (a[i] > vol) {
        cupb = i + 1;
        x2 = a[i];
      }
      if (a[i] != vol) k++;
    }
    if (k == 0)
      cout << "Exemplary pages.";
    else if (k == 2) {
      cout << (x2 - x1) / 2 << " ml. from cup #" << cupa << " to cup #" << cupb
           << ".";
    } else {
      cout << "Unrecoverable configuration.";
    }
  }
  return 0;
}
