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