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