#include <bits/stdc++.h>
using namespace std;
const int N = 1e6 + 5, mod = 1000000007;
int n, a, b, c, d;
int main() {
  cin.tie(0);
  cout.tie(0);
  ios_base::sync_with_stdio(0);
  cin >> n;
  while (n--) {
    cin >> a >> b;
    if (a > b)
      c++;
    else if (a < b)
      d++;
  }
  if (c > d)
    cout << "Mishka";
  else if (c < d)
    cout << "Chris";
  else
    cout << "Friendship is magic!^^";
  return 0;
}
