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