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