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