#include <bits/stdc++.h>
int main() {
  int cup[1005], ave;
  int i, c, n, index1, index2;
  while (~scanf("%d", &n)) {
    ave = 0;
    for (i = 0; i < n; i++) {
      scanf("%d", &cup[i]);
      ave += cup[i];
    }
    if (ave % n != 0) {
      printf("Unrecoverable configuration.\n");
      continue;
    }
    c = 0;
    ave /= n;
    for (i = 0; i < n; i++) {
      if (ave != cup[i]) c++;
    }
    if (c == 0)
      printf("Exemplary pages.");
    else if (c > 2)
      printf("Unrecoverable configuration.");
    else if (c == 2) {
      index1 = index2 = -1;
      for (i = 0; i < n; i++) {
        if (cup[i] != ave) {
          if (index1 == -1)
            index1 = i;
          else
            index2 = i;
        }
        if (index1 != -1 && index2 != -1) break;
      }
      if (cup[index1] > cup[index2])
        printf("%d ml. from cup #%d to cup #%d.", cup[index1] - ave, index2 + 1,
               index1 + 1);
      else
        printf("%d ml. from cup #%d to cup #%d.", cup[index2] - ave, index1 + 1,
               index2 + 1);
    }
    printf("\n");
  }
  return 0;
}
