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