#include <bits/stdc++.h>
using namespace std;
int toInt(string s) {
  int res;
  stringstream ss;
  ss << s;
  ss >> res;
  return res;
}
const int inf = 1 << 27;
int main(void) {
  int n;
  cin >> n;
  vector<pair<int, int>> v;
  for (int i = (0); i < (n); ++i) {
    int tmp;
    cin >> tmp;
    v.emplace_back(tmp, i);
  }
  vector<string> ans = {"Exemplary pages.", "v ml. from cup #a to cup #b.",
                        "Unrecoverable configuration."};
  sort((v).begin(), (v).end(), [](pair<int, int> x, pair<int, int> y) {
    return x.first - y.first < 0;
  });
  pair<int, int> hd = v[0], tl = v[v.size() - 1];
  if ((hd.first + tl.first) % 2 != 0) {
    cout << ans[2] << endl;
    return 0;
  }
  if (hd.first == tl.first) {
    cout << ans[0] << endl;
    return 0;
  }
  if (v.size() == 1) {
    cout << ans[0] << endl;
    return 0;
  }
  if (v.size() == 2 || (v[1].first == v[v.size() - 2].first &&
                        v[1].first == (tl.first + hd.first) / 2)) {
    cout << ((tl.first - hd.first) / 2) << " ml. from cup #" << (hd.second + 1)
         << " to cup #" << (tl.second + 1) << "." << endl;
    return 0;
  }
  cout << ans[2] << endl;
  return 0;
}
