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