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