#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, mishka, chris, m = 0, c = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> mishka;
    cin >> chris;
    if (mishka == chris) continue;
    if (mishka > chris) m++;
    if (mishka < chris) c++;
  }
  if (m > c)
    cout << "Mishka";
  else if (m < c)
    cout << "Chris";
  else
    cout << "Friendship is magic!^^";
}
