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