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