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