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