#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, in1, in2, c1 = 100000, c2 = -100000;
  cin >> n;
  int arr[1010];
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
    if (arr[i] < c1) {
      c1 = arr[i];
      in1 = i;
    }
    if (arr[i] > c2) {
      c2 = arr[i];
      in2 = i;
    }
  }
  sort(arr, arr + n);
  if (n == 2) {
    if (abs(arr[0] - arr[1]) % 2) {
      cout << "Unrecoverable configuration.\n";
      return 0;
    }
  }
  double com = ((double)arr[0] + arr[n - 1]) / 2;
  for (int i = 1; i < n - 1; i++) {
    if (arr[i] != com) {
      cout << "Unrecoverable configuration.\n";
      return 0;
    }
  }
  if (arr[0] == com) {
    cout << "Exemplary pages.\n";
  } else
    cout << abs(arr[0] - arr[n - 1]) / 2 << " ml. from cup #" << in1 + 1
         << " to cup #" << in2 + 1 << ".\n";
}
