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