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