#include <bits/stdc++.h>
int main() {
  int n, i, j, flag, v, average;
  int a[1005];
  while (scanf("%d", &n) != EOF) {
    int sum = 0, b = 0, s = 0, t1, t2;
    for (i = 1; i <= n; i++) {
      scanf("%d", &a[i]);
      sum += a[i];
    }
    average = sum / n;
    for (i = 1; i <= n; i++) {
      if (a[i] > average) {
        b++;
        t1 = i;
      }
      if (a[i] < average) {
        s++;
        t2 = i;
      }
    }
    if (s == b && s == 0) {
      printf("Exemplary pages.\n");
    } else if (s == b && s == 1 && a[t1] + a[t2] == average * 2) {
      printf("%d ml. from cup #%d to cup #%d.\n", a[t1] - average, t2, t1);
    } else
      printf("Unrecoverable configuration.\n");
  }
}
