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