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