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