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