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