#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int cres = 0, mres = 0;
  for (int i = 0; i < n; i++) {
    int m, c;
    cin >> m >> c;
    if (m > c)
      mres++;
    else if (m < c)
      cres++;
  }
  if (mres > cres) {
    cout << "Mishka\n";
  } else if (mres < cres)
    cout << "Chris\n";
  else
    cout << "Friendship is magic!^^\n";
  return 0;
}
