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