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