#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, i, c = 0, j = 0, index[3], sum = 0, avg;
  cin >> n;
  long long int a[n];
  for (i = 0; i < n; i++) {
    cin >> a[i];
    sum += a[i];
  }
  avg = sum / n;
  if (avg * n != sum)
    cout << "Unrecoverable configuration.";
  else {
    for (i = 0; i < n; i++) {
      if (a[i] == avg)
        c++;
      else {
        index[j] = i;
        j++;
      }
      if (j == 3) break;
    }
    if (c == n)
      cout << "Exemplary pages.";
    else if (c == n - 2) {
      if (a[index[1]] > a[index[0]])
        cout << (a[index[1]] - a[index[0]]) / 2 << " ml. from cup #"
             << index[0] + 1 << " to cup #" << index[1] + 1 << ".";
      else
        cout << (a[index[0]] - a[index[1]]) / 2 << " ml. from cup #"
             << index[1] + 1 << " to cup #" << index[0] + 1 << ".";
    } else
      cout << "Unrecoverable configuration.";
  }
  return 0;
}
