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