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