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