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