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