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