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