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