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