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