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