#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio();
  cin.tie(0);
  cout.tie(0);
  long long n, m = 0, c = 0;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    long long x, y;
    cin >> x >> y;
    if (x > y)
      m++;
    else if (y > x)
      c++;
  }
  if (m > c)
    cout << "Mishka" << endl;
  else if (c > m)
    cout << "Chris" << endl;
  else
    cout << "Friendship is magic!^^" << endl;
}
