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