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