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