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