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