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