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