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