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