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