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