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