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