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