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