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