Optiver interview question

Basic arithmetic