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