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