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