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