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