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