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