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