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