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