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