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