#include <bits/stdc++.h>
int main() {
  int n, s = 0, c = 0;
  scanf("%d", &n);
  int a[n], b[n], i;
  for (i = 1; i <= n; i++) {
    scanf("%d%d", &a[i], &b[i]);
    if (a[i] > b[i])
      s++;
    else if (a[i] < b[i])
      c++;
  }
  if (s > c)
    printf("Mishka");
  else if (s == c)
    printf("Friendship is magic!^^");
  else
    printf("Chris");
}
