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