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