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