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