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