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