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