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