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