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