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