Jane Street interview question

math problems, brainteasers, mental math