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