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