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