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