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