#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n;
  cin >> n;
  int mis = 0, chr = 0;
  int m[n], c[n];
  for (int k = 0; k < n; k++) {
    cin >> m[k] >> c[k];
    if (m[k] > c[k]) mis++;
    if (m[k] < c[k]) chr++;
  }
  if (mis > chr)
    cout << "Mishka"
         << "\n";
  if (mis < chr)
    cout << "Chris"
         << "\n";
  if (mis == chr)
    cout << "Friendship is magic!^^"
         << "\n";
}
