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