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