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