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