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