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