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