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