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