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