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