#include <bits/stdc++.h>
using namespace std;
int main() {
  int T;
  cin >> T;
  int a1 = 0, b1 = 0;
  while (T--) {
    int a, b;
    cin >> a >> b;
    if (a > b) a1++;
    if (a < b) b1++;
  }
  if (a1 > b1) cout << "Mishka" << endl;
  if (a1 == b1) cout << "Friendship is magic!^^" << endl;
  if (a1 < b1) cout << "Chris" << endl;
  return 0;
}
