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