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