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