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