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