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