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