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