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