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