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