There are 6 baskets on the table. Each basket has 12, 4, 9, 17, 6 and 10 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?