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