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