#include <bits/stdc++.h>
using namespace std;
int a, b;
int main() {
  int n;
  cin >> n;
  while (n--) {
    int x, y;
    cin >> x >> y;
    if (x > y) a++;
    if (x < y) b++;
  }
  if (a > b)
    puts("Mishka");
  else if (a < b)
    puts("Chris");
  else if (a == b)
    puts("Friendship is magic!^^");
}
