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