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