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