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