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