@jtimonen & @dirkdouwes is right. One will have to marginalize B out. I was mistaken not noticing it’s Binomial.