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