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