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