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