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