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