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