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