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