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