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