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