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