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