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