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