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