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