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