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