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