#include <bits/stdc++.h>
using namespace std;
int main() {
  string m_v = "Mishka";
  string c_v = "Chris";
  string f = "Friendship is magic!^^";
  int n;
  int m, c;
  int m_c = 0, c_c = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> m >> c;
    if (m == c) {
      continue;
    }
    if (m > c) {
      m_c++;
    }
    if (c > m) {
      c_c++;
    }
  }
  if (m_c > c_c) {
    cout << m_v;
  }
  if (m_c < c_c) {
    cout << c_v;
  }
  if (m_c == c_c) {
    cout << f;
  }
}
