#include <bits/stdc++.h>
using namespace std;
int n;
int a[1010];
void work() {
  int s = 0;
  for (int i = 0; i < n; ++i) {
    scanf("%d", &a[i]);
    s += a[i];
  }
  if (s % n != 0) {
    printf("Unrecoverable configuration.\n");
    return;
  }
  s /= n;
  int y1 = -1, y2 = -1;
  for (int i = 0; i < n; ++i)
    if (a[i] != s) {
      if (y2 > -1) {
        printf("Unrecoverable configuration.\n");
        return;
      }
      if (y1 > -1)
        y2 = i;
      else
        y1 = i;
    }
  if (y1 == -1) {
    printf("Exemplary pages.\n");
    return;
  }
  if (a[y1] > a[y2]) swap(y1, y2);
  printf("%d ml. from cup #%d to cup #%d.\n", (a[y2] - a[y1]) / 2, y1 + 1,
         y2 + 1);
}
int main() {
  while (scanf("%d", &n) == 1) {
    work();
  }
}
