#include <bits/stdc++.h>
int main() {
  int n, m[1000], c[1000], p = 0, b = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d %d", &m[i], &c[i]);
    if (m[i] > c[i]) {
      p++;
    } else if (c[i] > m[i]) {
      b++;
    } else {
      continue;
    }
  }
  if (p > b) {
    printf("Mishka");
  } else if (b > p) {
    printf("Chris");
  } else if (b == p) {
    printf("Friendship is magic!^^");
  }
}
