#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, m = 0, c = 0;
  string s;
  cin >> n;
  vector<long long int> A(n);
  for (long long int i = 0; i < n; i++) {
    long long int x, y;
    cin >> x >> y;
    if (x > y) m++;
    if (x < y) c++;
  }
  if (m > c) cout << "Mishka";
  if (m == c) cout << "Friendship is magic!^^";
  if (m < c) cout << "Chris";
  return 0;
}
