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