#include <bits/stdc++.h>
using namespace std;
void equalse(int arr[], int n) {
  int m = 0, c = 0;
  for (int i = 0; i < n; i += 2) {
    if (arr[i] > arr[i + 1]) m++;
    if (arr[i] < arr[i + 1]) c++;
  }
  if (c > m) cout << "Chris";
  if (m > c) cout << "Mishka";
  if (m == c) cout << "Friendship is magic!^^";
}
void input(int arr[], int n) {
  for (int i = 0; i < n; i++) cin >> arr[i];
}
int main() {
  int n;
  cin >> n;
  n *= 2;
  int arr[n];
  input(arr, n);
  equalse(arr, n);
}
