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