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