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