#include <bits/stdc++.h>
const int maxn = 1001;
using namespace std;
typedef struct Cup {
  int v;
  int num;
} cup;
cup s[maxn];
bool cmp(cup a, cup b) { return a.v < b.v; }
int main() {
  int n;
  int avr, _count, p;
  double sum = 0;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> s[i].v;
    s[i].num = i;
    sum += double(s[i].v);
  }
  avr = int(sum / n);
  if (avr == sum / n) {
    _count = 0;
    for (int i = 1; i <= n; i++) {
      if (s[i].v == avr) _count += 1;
    }
    if (_count == n)
      printf("Exemplary pages.\n");
    else {
      sort(s + 1, s + n + 1, cmp);
      p = 0;
      for (int i = 1; i <= n / 2; i++) {
        if ((s[i].v != avr && s[n - i + 1].v != avr) &&
            ((s[i].v + s[n - i + 1].v) / 2 == avr)) {
          p += 1;
        }
      }
      if (p == 1) {
        for (int i = 1; i <= n / 2; i++) {
          if ((s[i].v != avr && s[n - i + 1].v != avr) &&
              ((s[i].v + s[n - i + 1].v) / 2 == avr)) {
            cout << (s[n - i + 1].v - s[i].v) / 2 << " ml. from cup #"
                 << s[i].num << " to cup #" << s[n - i + 1].num << '.' << endl;
            break;
          }
        }
      } else
        printf("Unrecoverable configuration.\n");
    }
  } else
    printf("Unrecoverable configuration.\n");
}
