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