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