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