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