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