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