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