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