#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> arr(n);
  string a = "Exemplary pages.", c = "Unrecoverable configuration.";
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
  }
  int sum = accumulate(arr.begin(), arr.end(), 0);
  if (sum % n == 0) {
    int avg = sum / n;
    int found = 0;
    for (int i = 0; i < n; i++) {
      if (arr[i] == avg) {
        found++;
      }
    }
    if (found == n - 2) {
      int val[2], foundindex[2];
      int ind = 0;
      for (int i = 0; i < n; i++) {
        if (arr[i] != avg) {
          val[ind] = arr[i] - avg;
          foundindex[ind++] = i + 1;
        }
      }
      if (val[0] + val[1] == 0) {
        if (val[0] > val[1]) {
          swap(val[0], val[1]);
          swap(foundindex[0], foundindex[1]);
        }
        int v, aml, bml;
        v = abs(val[0]);
        aml = foundindex[0];
        bml = foundindex[1];
        cout << v << " ml. from cup #" << aml << " to cup #" << bml << ".\n";
      }
    } else if (found == n) {
      cout << a << endl;
    } else {
      cout << c << endl;
    }
  } else {
    cout << c << endl;
  }
  return 0;
}
