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