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