#include <bits/stdc++.h>
using namespace std;
int n, a, b, ans = 0;
int main() {
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d%d", &a, &b);
    if (a > b) ans++;
    if (b > a) ans--;
  }
  if (ans > 0) printf("Mishka");
  if (ans == 0) printf("Friendship is magic!^^");
  if (ans < 0) printf("Chris");
}
