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