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