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