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