#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  int mis = 0;
  int cis = 0;
  for (int i = 1; i <= n; i++) {
    int x, y;
    scanf("%d %d", &x, &y);
    if (x > y)
      mis++;
    else if (x < y)
      cis++;
  }
  if (mis > cis)
    printf("Mishka");
  else if (mis < cis)
    printf("Chris");
  else
    printf("Friendship is magic!^^");
  return 0;
}
