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