The following table shows the number of boxes and packs of candies won by the participants of two teams in a competition. If each box contains 12 candies and each pack contains 7 candies, which team won the most number of candies?
Team ATeam BParticipant 17 packs4 packsParticipant 23 boxes6 boxes