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