#include <bits/stdc++.h>
using namespace std;
int max(int a, int b) {
  if (a > b)
    return a;
  else
    return b;
}
int min(int a, int b) {
  if (a < b)
    return a;
  else
    return b;
}
int n, a, avg, b, k, arr[1100], sum, cnt;
bool can = 1;
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
    sum += arr[i];
  }
  if (sum % n != 0) can = 0;
  avg = sum / n;
  if (can) {
    for (int i = 0; i < n; i++) {
      if (arr[i] < avg) {
        a = i + 1;
        cnt++;
      } else if (arr[i] > avg) {
        b = i + 1;
        cnt++;
      }
      if (cnt > 2) {
        can = 0;
        break;
      }
    }
    if (!can)
      cout << "Unrecoverable configuration.";
    else if (cnt == 2)
      cout << (arr[b - 1] - arr[a - 1]) / 2 << " ml. from cup #" << a
           << " to cup #" << b << ".\n";
    else
      cout << "Exemplary pages.";
  } else
    cout << "Unrecoverable configuration.";
  return 0;
}
