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