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