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