#include <bits/stdc++.h>
int main() {
  int m, a, b, i;
  scanf("%d", &m);
  int a1 = 0, b1 = 0;
  for (i = 0; i < m; i++) {
    scanf("%d %d", &a, &b);
    if (a > b) a1++;
    if (b > a) b1++;
  }
  if (a1 > b1)
    printf("Mishka");
  else if (a1 < b1)
    printf("Chris");
  else
    printf("Friendship is magic!^^");
  return 0;
}
