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