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