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