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