#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x, a1, b1;
  cin >> n;
  int a[n];
  vector<pair<int, int> > v, ans;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    v.push_back(make_pair(a[i], i));
  }
  sort(v.begin(), v.end());
  if (n % 2 == 0) {
    if ((v[n / 2 - 1].first + v[n / 2].first) % 2 != 0) {
      cout << "Unrecoverable configuration.";
      return 0;
    }
    x = (v[n / 2 - 1].first + v[n / 2].first);
  } else
    x = 2 * v[n / 2].first;
  for (int i = 0; i <= (n - 1) / 2; i++) {
    if (v[i].first == v[n - i - 1].first && 2 * v[i].first == x)
      continue;
    else if ((v[i].first + v[n - i - 1].first) == x) {
      ans.push_back(make_pair(v[i].second, v[n - i - 1].second));
    } else {
      cout << "Unrecoverable configuration.";
      return 0;
    }
  }
  if (ans.size() == 0)
    cout << "Exemplary pages.";
  else if (ans.size() < 2) {
    for (int i = 0; i < ans.size(); i++) {
      if (a[ans[i].first] > a[ans[i].second]) {
        a1 = ans[i].second;
        b1 = ans[i].first;
      } else {
        b1 = ans[i].second;
        a1 = ans[i].first;
      }
      cout << abs(a[ans[i].first] - a[ans[i].second]) / 2 << " ml. from cup #"
           << a1 + 1 << " to cup #" << b1 + 1 << "." << endl;
    }
  } else {
    cout << "Unrecoverable configuration.";
  }
}
