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