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