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