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