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