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