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