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