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