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