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