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