#include <bits/stdc++.h>
using namespace std;
void init();
void solve() {
  int n, m, c, cntm = 0, cntc = 0;
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> m >> c;
    if (m > c)
      cntm++;
    else if (c > m)
      cntc++;
  }
  if (cntm > cntc)
    cout << "Mishka\n";
  else if (cntc > cntm)
    cout << "Chris\n";
  else
    cout << "Friendship is magic!^^\n";
}
int main() {
  init();
  int tc = 1;
  while (tc--) solve();
  return 0;
}
void init() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
}
