#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n;
  int a[1005];
  int b[90];
  long long int sum = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    sum += a[i];
  }
  if (sum % n != 0) sum = -1;
  sum /= n;
  int dif = 0;
  for (int i = 0; i < n; i++) {
    if (a[i] != sum) {
      b[dif++] = i;
      if (dif > 2) break;
    }
  }
  if (dif > 2 || dif == 1)
    printf("Unrecoverable configuration.\n");
  else if (dif == 0)
    printf("Exemplary pages.\n");
  else if (dif == 2) {
    if (a[b[0]] + a[b[1]] == sum * 2) {
      if (a[b[0]] > a[b[1]]) {
        int tmp = sum - a[b[1]];
        printf("%d ml. from cup #%d to cup #%d.\n", tmp, b[1] + 1, b[0] + 1);
      } else {
        int tmp = sum - a[b[0]];
        printf("%d ml. from cup #%d to cup #%d.\n", tmp, b[0] + 1, b[1] + 1);
      }
    } else
      printf("Unrecoverable configuration.\n");
  }
}
