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