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