Jane Street interview question

mental math, probability