Optiver Interview Question

Basic arithmetic but most be solved very quickly