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