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