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