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