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