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