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