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