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