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