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