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