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