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