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