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