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