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