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