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