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