Pret A Manger interview question

Not sure what the problem is