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