Optiver interview question

Adding and multiplying numbers, fractions