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