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