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