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