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