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