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