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