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