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