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