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