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