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