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