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