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