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