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