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