#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  vector<int> arr(3, 0);
  while (t--) {
    int m, c;
    cin >> m >> c;
    if (m > c)
      arr[0]++;
    else if (m < c)
      arr[1]++;
    else
      arr[2]++;
  }
  if (arr[0] > arr[1])
    cout << "Mishka";
  else if (arr[1] > arr[0])
    cout << "Chris";
  else
    cout << "Friendship is magic!^^";
  return 0;
}
