Jane Street Interview Question

Mental maths.