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