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