#include <bits/stdc++.h>
int main() {
  int n, k, m;
  int coun = 0, coun1 = 0;
  scanf("%d", &n);
  while (n--) {
    scanf("%d%d", &k, &m);
    if (k > m) {
      coun++;
    } else if (k < m) {
      coun1++;
    }
  }
  if (coun > coun1) {
    printf("Mishka\n");
  } else if (coun < coun1) {
    printf("Chris\n");
  } else {
    printf("Friendship is magic!^^\n");
  }
  return 0;
}
