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