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