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