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