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