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