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