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