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