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