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