#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base ::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int a;
  cin >> a;
  int b, c, ans = 0;
  for (int i = 0; i < a; i++) {
    cin >> b >> c;
    if (b > c) ans++;
    if (b < c) ans--;
  }
  if (ans == 0)
    cout << "Friendship is magic!^^";
  else if (ans > 0)
    cout << "Mishka";
  else
    cout << "Chris";
  return 0;
}
