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