#include <bits/stdc++.h>
using namespace std;
int main() {
  std ::ios::sync_with_stdio(false);
  int n;
  while (cin >> n) {
    int Mishka = 0, Chris = 0;
    int mi, ci;
    while (n--) {
      cin >> mi >> ci;
      if (mi > ci)
        Mishka++;
      else if (mi < ci)
        Chris++;
    }
    if (Mishka > Chris)
      cout << "Mishka" << endl;
    else if (Mishka == Chris)
      cout << "Friendship is magic!^^" << endl;
    else
      cout << "Chris" << endl;
  }
  return 0;
}
