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