#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n, x1, x2, x3;
  cin >> n;
  set<long long> s;
  vector<long long> v(n);
  for (long long i = 0; i < n; i++) {
    cin >> v[i];
    s.insert(v[i]);
  }
  if (s.size() == 1) {
    cout << "Exemplary pages.";
  } else if (s.size() == 3) {
    auto it = s.begin();
    x1 = *it;
    it++;
    x2 = *it;
    it++;
    x3 = *it;
    if (x1 + x3 == 2 * x2 && count(v.begin(), v.end(), x1) == 1 &&
        count(v.begin(), v.end(), x3) == 1) {
      auto f = find(v.begin(), v.end(), x1);
      long long a1 = f - v.begin() + 1;
      f = find(v.begin(), v.end(), x3);
      long long a2 = f - v.begin() + 1;
      cout << x2 - x1 << " ml. from cup #" << a1 << " to cup #" << a2 << ".";
    } else {
      cout << "Unrecoverable configuration.";
    }
  } else {
    if (v.size() == 2 && s.size() == 2 && (v[0] + v[1]) % 2 == 0) {
      auto it = s.begin();
      x1 = *it;
      it++;
      x2 = *it;
      auto f = find(v.begin(), v.end(), x1);
      long long a1 = f - v.begin() + 1;
      f = find(v.begin(), v.end(), x2);
      long long a2 = f - v.begin() + 1;
      long long ans = abs(v[0] - (v[0] + v[1]) / 2);
      cout << ans << " ml. from cup #" << a1 << " to cup #" << a2 << ".";
    } else
      cout << "Unrecoverable configuration.";
  }
}
