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