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