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