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