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