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