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