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