#include <bits/stdc++.h>
using namespace std;
int main() {
  int term, val, m = 0, a = 0, val2;
  cin >> term;
  for (int i = 0; i < term; i++) {
    cin >> val >> val2;
    if (val > val2)
      m++;
    else if (val < val2)
      a++;
  }
  if (m == a)
    cout << "Friendship is magic!^^" << endl;
  else if (m > a)
    cout << "Mishka" << endl;
  else
    cout << "Chris" << endl;
  return 0;
}
