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