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