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