#include <bits/stdc++.h>
using namespace std;
int main() {
  int t, count1 = 0, count2 = 0, count3 = 0;
  cin >> t;
  while (t--) {
    int a, b;
    cin >> a >> b;
    if (a > b)
      count1++;
    else if (a < b)
      count2++;
  }
  if (count1 > count2)
    cout << "Mishka" << endl;
  else if (count2 > count1)
    cout << "Chris" << endl;
  else
    cout << "Friendship is magic!^^" << endl;
  return 0;
}
