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