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