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