Optiver interview question

Arithmetic