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