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