Conditional on the total number of events, the events are distributed over the contributing Poisson processes in proportion to their rates; see e.g. Prove that $X|X + Y$ is a Binomial random variable and Poisson random variables and Binomial Theorem. The proportion of $B$ is $\frac{30}{20+30+50}=\frac3{10}$, so the expected number of events from that process is $\frac3{10}\cdot50=15$.