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