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