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