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