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