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