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