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