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