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