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