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