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