#include <bits/stdc++.h>
using namespace std;
template <class T>
int len(const T &c) {
  return (int)c.size();
}
template <class T>
void cmin(T &a, T b) {
  if (b < a) a = b;
}
template <class T>
void cmax(T &a, T b) {
  if (b > a) a = b;
}
vector<long long> v;
long long t;
int n;
long long sum;
long long avg;
vector<long long> v1;
int main() {
  cin >> n;
  for (int i(0), _n(n); i < _n; ++i) {
    cin >> t;
    v.push_back(t);
    sum += t;
  }
  avg = sum / n;
  for (int i(0), _n(n); i < _n; ++i) {
    if (v[i] != avg) v1.push_back(i);
  }
  if (len(v1) == 0) {
    cout << "Exemplary pages.";
    return 0;
  }
  if (len(v1) > 2 || len(v1) == 1) {
    cout << "Unrecoverable configuration.";
    return 0;
  }
  if (v[v1[0]] > v[v1[1]]) swap(v1[0], v1[1]);
  if (v[v1[1]] - avg == avg - v[v1[0]]) {
    cout << v[v1[1]] - avg << " ml. from cup #" << v1[0] + 1 << " to cup #"
         << v1[1] + 1 << ".";
  } else {
    cout << "Unrecoverable configuration.";
    return 0;
  }
}
