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