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