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