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