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