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