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