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