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