#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  while (cin >> n) {
    int x, y, cnt1 = 0, cnt2 = 0;
    while (n--) {
      scanf("%d %d", &x, &y);
      if (x > y) {
        cnt1++;
      } else if (x < y)
        cnt2++;
    }
    if (cnt1 > cnt2)
      printf("Mishka\n");
    else if (cnt1 < cnt2)
      printf("Chris\n");
    else
      printf("Friendship is magic!^^\n");
  }
  return 0;
}
