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