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