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