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