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