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