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