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