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