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