#include <bits/stdc++.h>
int main() {
  int n, a, b, c = 0, r = 0;
  scanf("%d", &n);
  while (n > 0) {
    scanf("%d %d", &a, &b);
    if (a > b) c++;
    if (a < b) r++;
    n--;
  }
  if (c > r) printf("Mishka");
  if (c < r) printf("Chris");
  if (c == r) printf("Friendship is magic!^^");
  return 0;
}
