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