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