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