Jane Street Interview Question

mental math, probability