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