Citi Interview Question

probability and simple math