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