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