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