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