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