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