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