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