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