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