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