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