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