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