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