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