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