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