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