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