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