There are 6 baskets on the table. Each basket has 3, 7, 17, 5, 12 and 0 apples. Matt chose fourth, Liam chose sixth, Emma chose third, Olivia chose second, Sean chose first, and John chose fifth. Who chose the basket with the most apples?