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