#include <bits/stdc++.h>
using namespace std;
void work() {
  int n;
  scanf("%d", &n);
  int a = 0;
  for (int i = 1; i <= n; ++i) {
    int u, v;
    scanf("%d%d", &u, &v);
    if (u > v)
      a++;
    else if (u < v)
      a--;
  }
  if (a > 0) {
    printf("Mishka\n");
  } else if (a == 0) {
    printf("Friendship is magic!^^\n");
  } else
    printf("Chris\n");
}
int main() {
  work();
  return 0;
}
