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