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