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