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