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