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