#include <bits/stdc++.h>
using namespace std;
int n;
int wenl, wenr, LL, RR;
char ch[400006];
int main() {
  cin >> n;
  scanf("%s", ch + 1);
  for (int i = 1; i <= n / 2; ++i)
    wenl += (ch[i] == '?'), LL += isdigit(ch[i]) ? ch[i] - '0' : 0;
  for (int i = n / 2 + 1; i <= n; ++i)
    wenr += (ch[i] == '?'), RR += isdigit(ch[i]) ? ch[i] - '0' : 0;
  if (wenl < wenr) swap(wenl, wenr), swap(LL, RR);
  int dir = wenl - wenr;
  if (dir & 1) return puts("Monocarp"), 0;
  if (dir / 2 * 9 + LL == RR)
    puts("Bicarp");
  else
    puts("Monocarp");
}
