#include <bits/stdc++.h>
using namespace std;
pair<int, int> a[1000 + 50];
int taken[1000 + 50];
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i].first;
    a[i].second = i + 1;
  }
  sort(a, a + n);
  if (a[0].first == a[n - 1].first) {
    cout << "Exemplary pages.";
    return 0;
  }
  int res = a[n - 1].first - a[0].first;
  res /= 2;
  a[0].first += res;
  a[n - 1].first -= res;
  int use1 = a[0].second;
  int use2 = a[n - 1].second;
  sort(a, a + n);
  if (a[0].first == a[n - 1].first) {
    cout << res << " ml. from cup #" << use1 << " "
         << "to cup #" << use2 << ".";
  } else
    cout << "Unrecoverable configuration.";
}
