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