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