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