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