#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, mWin = 0, cWin = 0;
  cin >> n;
  while (n--) {
    int m, c;
    cin >> m >> c;
    if (m > c) {
      mWin++;
    } else if (c > m) {
      cWin++;
    }
  }
  if (mWin > cWin) {
    cout << "Mishka";
  } else if (cWin > mWin) {
    cout << "Chris";
  } else {
    cout << "Friendship is magic!^^";
  }
}
