#include <bits/stdc++.h>
using namespace std;
int n, ans = 0;
string s;
int32_t main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  cin >> n >> s;
  for (int i = 0; i < n; ++i) {
    ans += ((s[i] == '?') ? 9 : ((s[i] - '0') * 2)) * ((i < (n / 2)) ? 1 : -1);
  }
  cout << (ans == 0 ? "Bicarp" : "Monocarp");
  return 0;
}
