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