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