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