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