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