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