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