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