dunnhumby interview question

Group exercise, maths test