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