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