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