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