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