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