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