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