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