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