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