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