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