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