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