#include <bits/stdc++.h>
using namespace std;
const int MX = 1e5 + 10;
const int mod = 1e9 + 7;
int main() {
  int n;
  while (cin >> n) {
    int m, c;
    int ans = 0;
    while (n--) {
      cin >> m >> c;
      if (m > c)
        ans++;
      else if (m < c)
        ans--;
    }
    if (ans > 0)
      cout << "Mishka" << endl;
    else if (ans < 0)
      cout << "Chris" << endl;
    else
      cout << "Friendship is magic!^^" << endl;
  }
  return 0;
}
