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