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