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