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