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