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