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