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