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