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