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