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