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