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