#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j, m, n, k, M = 0, K = 0;
  scanf("%d", &n);
  for (i = 0; i < n; i++) {
    scanf("%d%d", &j, &k);
    if (j > k) M++;
    if (k > j) K++;
  }
  if (M > K) printf("Mishka\n");
  if (M < K) printf("Chris\n");
  if (M == K) printf("Friendship is magic!^^\n");
  return 0;
}
