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