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