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