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