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