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