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