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