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