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