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