#include <bits/stdc++.h>
using namespace std;
long long power(long long a, long long b) {
  long long r = 1;
  while (b != 0) {
    if (b % 2 != 0) {
      r = r * a;
      r %= 998244353ll;
    }
    a = a * a;
    a = a % 998244353ll;
    b = b / 2;
  }
  return r;
}
void solve() {
  long long n;
  cin >> n;
  long long t = n / 2;
  string s;
  cin >> s;
  long long lt = 0, ql = 0, rt = 0, qr = 0;
  for (long long i = (0); i <= (t - 1ll); i++) {
    if (s[i] == '?') {
      ql += 1;
    } else {
      lt += s[i] - 48;
    }
  }
  for (long long i = (t); i <= (n - 1ll); i++) {
    if (s[i] == '?') {
      qr += 1;
    } else {
      rt += s[i] - 48;
    }
  }
  long long al = (ql + qr) / 2;
  if (al == 0) {
    if (lt == rt) {
      cout << "Bicarp" << endl;
    } else {
      cout << "Monocarp" << endl;
    }
    return;
  }
  long long z = (lt + (min(ql, al) * 9ll)) - (rt);
  long long pq = qr - al + min(ql, al);
  if (z > 0) {
    if (pq == 0) {
      cout << "Monocarp" << endl;
      return;
    } else {
      long long tp = z / pq;
      if (z % pq != 0) {
        tp += 1;
      }
      if (tp > 9) {
        cout << "Monocarp" << endl;
        return;
      }
    }
  }
  z = (rt + (min(qr, al) * 9ll)) - (lt);
  pq = ql - al + min(qr, al);
  if (z > 0) {
    if (pq == 0) {
      cout << "Monocarp" << endl;
      return;
    } else {
      long long tp = z / pq;
      if (z % pq != 0) {
        tp += 1;
      }
      if (tp > 9) {
        cout << "Monocarp" << endl;
        return;
      }
    }
  }
  cout << "Bicarp" << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t = 1;
  while (t--) {
    solve();
  }
}
