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