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