#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int n;
  cin >> n;
  vector<pair<int, int> > j(n);
  for (int i = 0; i < n; i++) {
    cin >> j[i].first;
    j[i].second = i;
  }
  sort(j.begin(), j.end());
  if (n == 1)
    cout << "Exemplary pages.\n";
  else if (n == 2) {
    if (j[0].first == j[1].first)
      cout << "Exemplary pages.\n";
    else if ((j[1].first - j[0].first) % 2 == 0)
      cout << (j[1].first - j[0].first) / 2 << " ml. from cup #"
           << j[0].second + 1 << " to cup #" << j[1].second + 1 << ".\n";
    else
      cout << "Unrecoverable configuration.\n";
  } else {
    if (j[0].first == j[n - 1].first)
      cout << "Exemplary pages.\n";
    else if (j[1].first == j[n - 2].first &&
             j[0].first + j[n - 1].first == j[1].first * 2)
      cout << (j[n - 1].first - j[0].first) / 2 << " ml. from cup #"
           << j[0].second + 1 << " to cup #" << j[n - 1].second + 1 << ".\n";
    else
      cout << "Unrecoverable configuration.\n";
  }
  return 0;
}
