#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
const int N = 200000 + 10;
const int M = 10;
const string st2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
const string s1 = "abcdefghijklmnopqrstuvwxyz";
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  int n;
  cin >> n;
  int l = 0, r = 0;
  for (int i = 1; i <= n; i++) {
    int k1, k2;
    cin >> k1 >> k2;
    if (k1 > k2)
      l++;
    else if (k2 > k1)
      r++;
  }
  if (l > r)
    cout << "Mishka"
         << "\n";
  else if (r > l)
    cout << "Chris"
         << "\n";
  else
    cout << "Friendship is magic!^^"
         << "\n";
}
