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