#include <bits/stdc++.h>
using namespace std;
int s, x[4]{-1, -1, -1, -1}, in[4], c[4];
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> s;
    for (int j = 1; j <= 4; j++) {
      if (j == 4) {
        cout << "Unrecoverable configuration." << endl;
        return 0;
      }
      if (x[j] == -1) {
        in[j] = i;
        x[j] = s;
        c[j] = 1;
        break;
      } else if (s == x[j]) {
        c[j]++;
        break;
      }
    }
  }
  if (c[2] == 0 || n == 1 || (n == 2 && x[1] == x[2])) {
    cout << "Exemplary pages." << endl;
    return 0;
  }
  if (n == 2) {
    if (x[1] > x[2]) {
      swap(x[1], x[2]);
      swap(in[1], in[2]);
    }
    if ((x[2] - x[1]) % 2) {
      cout << "Unrecoverable configuration." << endl;
      return 0;
    } else {
      cout << (x[2] - x[1]) / 2 << " ml. from cup #" << in[1] << " to cup #"
           << in[2] << "." << endl;
      return 0;
    }
  }
  int co = 0;
  if (c[1] != 1) co++;
  if (c[2] != 1) co++;
  if (c[3] != 1) co++;
  if (co > 1 || c[3] == 0) {
    cout << "Unrecoverable configuration." << endl;
    return 0;
  }
  if (x[1] > x[2]) {
    swap(x[1], x[2]);
    swap(in[1], in[2]);
    swap(c[1], c[2]);
  }
  if (x[2] > x[3]) {
    swap(x[2], x[3]);
    swap(in[2], in[3]);
    swap(c[2], c[3]);
  }
  if (x[1] > x[2]) {
    swap(x[1], x[2]);
    swap(in[1], in[2]);
    swap(c[1], c[2]);
  }
  if (x[3] - x[2] != x[2] - x[1] || c[1] != 1 || c[3] != 1) {
    cout << "Unrecoverable configuration." << endl;
    return 0;
  } else {
    cout << (x[2] - x[1]) << " ml. from cup #" << in[1] << " to cup #" << in[3]
         << "." << endl;
    return 0;
  }
}
