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