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