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