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