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