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