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