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