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