Canadian Tire interview question

Nothing too complicated