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