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