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