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