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