#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, sum = 0, tmp;
  int i, j;
  int flag = 0;
  cin >> n;
  int arr[n];
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
    sum += arr[i];
  }
  if (sum % n)
    cout << "Unrecoverable configuration.";
  else {
    for (i = 0; i < n; i++) {
      if (arr[i] != sum / n) {
        flag++;
      }
    }
    if (flag == 0) {
      cout << "Exemplary pages.";
    } else if (flag > 2) {
      cout << "Unrecoverable configuration.";
    } else {
      for (i = 0; i < n; i++) {
        if (arr[i] == sum / n)
          continue;
        else if (arr[i] > sum / n) {
          for (j = i + 1; j < n; j++) {
            tmp = arr[i] - sum / n;
            if (arr[j] + tmp == sum / n) {
              cout << tmp << " ml. from cup #" << j + 1 << " to cup #" << i + 1
                   << ".";
              return 0;
            }
          }
        } else if (arr[i] < sum / n) {
          for (j = n - 1; j > i; j--) {
            tmp = sum / n - arr[i];
            if (arr[j] - tmp == sum / n) {
              cout << tmp << " ml. from cup #" << i + 1 << " to cup #" << j + 1
                   << ".";
              return 0;
            }
          }
        }
      }
      cout << "Unrecoverable configuration.";
      return 0;
    }
  }
}
