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