Marks & Spencer interview question

Maths test