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