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