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