#include <bits/stdc++.h>
using namespace std;
const int MAXN = 300000;
const int INF = (int)1e7;
const double eps = 1e-6;
const long long MOD = 1e9 + 7;
const double PI = M_PI;
int main() {
  std::ios::sync_with_stdio(false);
  int n;
  cin >> n;
  int m = 0;
  int c = 0;
  for (int i = 0; i < n; ++i) {
    int x, y;
    cin >> x >> y;
    if (x > y) m++;
    if (x < y) c++;
  }
  if (m > c) cout << "Mishka";
  if (m == c) cout << "Friendship is magic!^^";
  if (m < c) cout << "Chris";
  return 0;
}
