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