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