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