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