#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  pair<int, int> val[1000];
  int sum = 0;
  for (int i = 0; i < n; i++) {
    int v;
    cin >> v;
    val[i] = pair<int, int>(v, i + 1);
    sum += v;
  }
  sort(val, val + n);
  if (val[0].first == val[n - 1].first) {
    cout << "Exemplary pages." << endl;
  } else if (n != 2 && val[1].first != val[n - 2].first) {
    cout << "Unrecoverable configuration." << endl;
  } else if (n != 2 && val[n - 1].first + val[0].first != 2 * val[1].first) {
    cout << "Unrecoverable configuration." << endl;
  } else if ((val[n - 1].first - val[0].first) % 2) {
    cout << "Unrecoverable configuration." << endl;
  } else {
    cout << (val[n - 1].first - val[0].first) / 2 << " ml. from cup #"
         << val[0].second << " to cup #" << val[n - 1].second << "." << endl;
  }
}
