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