There are 6 baskets on the table. Each basket has 3, 1, 9, 12, 7 and 4 apples. Olivia chose fourth, Sean chose first, Emma chose second, Matt chose third, Liam chose sixth, and John chose fifth. How many apples did Sean and Emma choose in total?