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