Citi interview question

probability and simple math