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