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