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