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