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