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