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