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