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