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