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