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