#include <bits/stdc++.h>
int main() {
  int n;
  scanf("%d", &n);
  int B1, B2;
  int count1 = 0;
  int count2 = 0;
  while (n--) {
    scanf("%d %d", &B1, &B2);
    if (B1 > B2) {
      count1++;
    }
    if (B2 > B1) {
      count2++;
    }
  }
  if (count1 > count2) {
    printf("Mishka");
  }
  if (count2 > count1) {
    printf("Chris");
  }
  if (count2 == count1) {
    printf("Friendship is magic!^^");
  }
  return 0;
}
