#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n, dem = 0;
  cin >> n;
  int a[n];
  int b[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i] >> b[i];
  }
  for (int i = 0; i < n; i++) {
    if (a[i] > b[i])
      dem++;
    else if (a[i] < b[i]) {
      dem--;
    }
  }
  if (dem > 0) {
    cout << "Mishka";
  } else if (dem < 0) {
    cout << "Chris";
  } else {
    cout << "Friendship is magic!^^";
  }
  return 0;
}
