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