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