#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int cntM = 0, cntC = 0;
  for (int i = 0; i < n; i++) {
    int x, y;
    cin >> x >> y;
    if (x > y)
      cntM++;
    else if (x < y)
      cntC++;
  }
  if (cntM > cntC) {
    cout << "Mishka" << endl;
  } else if (cntC > cntM) {
    cout << "Chris" << endl;
  } else {
    cout << "Friendship is magic!^^" << endl;
  }
  return 0;
}
