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