#include <bits/stdc++.h>
using namespace std;
void solve() {
  int n;
  cin >> n;
  map<int, int> m;
  vector<int> vol(n);
  for (auto &x : vol) {
    cin >> x;
    m[x]++;
  }
  if (n == 1) {
    cout << "Exemplary pages.";
    return;
  }
  if (n == 2) {
    if (vol[0] == vol[1]) {
      cout << "Exemplary pages.";
      return;
    }
    if (abs(vol[0] - vol[1]) % 2 == 0) {
      int x = abs(vol[0] - vol[1]) / 2;
      if (vol[0] > vol[1])
        printf("%d ml. from cup #%d to cup #%d.", x, 2, 1);
      else
        printf("%d ml. from cup #%d to cup #%d.", x, 1, 2);
    } else {
      cout << "Unrecoverable configuration.";
      return;
    }
    return;
  }
  if (m.size() == 1) {
    cout << "Exemplary pages.";
    return;
  } else if (m.size() == 3) {
    int i = 0, a, b, c;
    for (auto x : m) {
      if (i == 0) {
        if (x.second != 1) {
          cout << "Unrecoverable configuration.";
          return;
        } else
          a = x.first;
        i++;
      } else if (i == 1) {
        b = x.first;
        i++;
      } else if (i == 2) {
        if (x.second != 1) {
          cout << "Unrecoverable configuration.";
          return;
        } else
          c = x.first;
        i++;
      }
    }
    if (b - a == c - b) {
      int ind1, ind2;
      for (int i = 0; i < n; i++) {
        if (vol[i] == a)
          ind1 = i + 1;
        else if (vol[i] == c)
          ind2 = i + 1;
      }
      printf("%d ml. from cup #%d to cup #%d.", b - a, ind1, ind2);
    } else {
      cout << "Unrecoverable configuration.";
      return;
    }
  } else {
    cout << "Unrecoverable configuration.";
    return;
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t = 1;
  while (t--) solve();
}
