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