#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m = 0, k = 0, a, b, c = 0, d = 0;
  cin >> n;
  int num[n];
  for (int i = 0; i < n; i++) {
    cin >> num[i];
    m += num[i];
  }
  if (m % n != 0) {
    cout << "Unrecoverable configuration.";
    return 0;
  }
  m /= n;
  a = m;
  b = m;
  for (int i = 0; i < n; i++) {
    if (num[i] > a) {
      a = num[i];
      c = i;
    }
    if (num[i] < b) {
      b = num[i];
      d = i;
    }
    if (num[i] != m) k++;
  }
  if (k == 0)
    cout << "Exemplary pages.";
  else if (k == 2)
    cout << (a - b) / 2 << " ml. from cup #" << d + 1 << " to cup #" << c + 1
         << ".";
  else
    cout << "Unrecoverable configuration.";
}
