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